/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.fellowera.model;

import java.io.Serializable;
import java.math.BigInteger;
 
import javax.persistence.Column;
import javax.persistence.Entity;
 
import javax.persistence.Lob;
 
import javax.persistence.Table;
 
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;

import com.fellowera.framework.BaseEntity;


/**
 *
 * @author mdoner
 */
@Entity
@Table(name = "project")
@XmlRootElement
 
public class Wewa extends BaseEntity implements Serializable  {
    private static final long serialVersionUID = 1L;
     
    @Lob
    @Size(max = 65535)
    @Column(name = "description")
    private String description;
    @Column(name = "idprojecttype")
    private BigInteger idprojecttype;
    @Size(max = 45)
    @Column(name = "mail")
    private String mail;
    // @Pattern(regexp="^\\(?(\\d{3})\\)?[- ]?(\\d{3})[- ]?(\\d{4})$", message="Invalid phone/fax format, should be as xxx-xxx-xxxx")//if the field contains phone or fax number consider using this annotation to enforce field validation
    @Size(max = 45)
    @Column(name = "phone")
    private String phone;
    @Size(max = 45)
    @Column(name = "name")
    private String name;

    public Wewa() {
    }

 

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public BigInteger getIdprojecttype() {
        return idprojecttype;
    }

    public void setIdprojecttype(BigInteger idprojecttype) {
        this.idprojecttype = idprojecttype;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

   
 
 

	@Override
	public String getDisplayText() {
		// TODO Auto-generated method stub
		return null;
	}
    
}
